package com.itheima.Work01;

public class teacher {
    private String teacher;

    public teacher() {

    }

    public teacher(String teacher) {
        this.teacher = teacher;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    @Override
    public String toString() {
        return "teacher{" +
                "teacher='" + teacher + '\'' +
                '}';
    }
    public static void teacher(){
        System.out.println("老师在讲课：");
    }
}
